/****************************************************************************

                        CBoat class
                        Copyright (C) 2011-2012 Andre Deperrois 
                        All rights reserved

*****************************************************************************/

#ifndef BOAT_H
#define BOAT_H

#include "sail.h"
#include "body.h"
#include <QList>

class Boat
{
public:
    Boat();

    Sail* GetSail(QString const &SailName);
    Body* GetBody(QString const &BodyName);
    void DuplicateBoat(Boat *pBoat);
    bool SerializeBoat(QDataStream &ar, bool bIsStoring);
    double Height();

    QList <Sail*> m_poaSail;
    QList <Body*> m_poaHull;

    QString m_BoatName;
    QString m_BoatDescription;

};

#endif // BOAT_H
